-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] [doc] Added solutions for debezium-source-mysql connection errors #649
Conversation
@Technoboy- Could you please help review this PR from a technical perspective? Then writers will review it from a technical writing side. Thank you! |
ping @Technoboy- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need some updates after discussion with @poorbarcode
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
-
Have you previewed your changes and ensured everything goes as expected?
If not, please preview your changes locally and attach the screenshots to this PR.
In this way, you can get your PR merged more quickly.
-
Please apply the same changes to all versions.
docs/io-cdc-debezium.md
Outdated
# if the plugin of mysql.user is is "caching_sha2_password", set it to "mysql_native_password". | ||
alter user '{user}'@'{host}' identified with mysql_native_password by {password}; | ||
|
||
# check the plugin of mysql.user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# check the plugin of mysql.user. | |
# Check the plugin of mysql.user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/io-debezium-source.md
Outdated
@@ -220,6 +220,35 @@ This example shows how to change the data of a MySQL table using the Pulsar Debe | |||
|
|||
6. A MySQL client pops out. | |||
|
|||
Change the connection mode to `mysql_native_password` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the connection mode to `mysql_native_password` | |
Change the connection mode to `mysql_native_password`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/io-debezium-source.md
Outdated
| caching_sha2_password_auto_generate_rsa_keys | ON | | ||
+----------------------------------------------+-------+ | ||
|
||
# if the value of "caching_sha2_password_auto_generate_rsa_keys" is ON, ensure the plugin of mysql.user is "mysql_native_password". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# if the value of "caching_sha2_password_auto_generate_rsa_keys" is ON, ensure the plugin of mysql.user is "mysql_native_password". | |
# If the value of "caching_sha2_password_auto_generate_rsa_keys" is ON, ensure the plugin of mysql.user is "mysql_native_password". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/io-debezium-source.md
Outdated
| localhost | root | caching_sha2_password | | ||
+-----------+------+-----------------------+ | ||
|
||
# if the plugin of mysql.user is is "caching_sha2_password", set it to "mysql_native_password". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# if the plugin of mysql.user is is "caching_sha2_password", set it to "mysql_native_password". | |
# If the plugin of mysql.user is is "caching_sha2_password", set it to "mysql_native_password". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/io-debezium-source.md
Outdated
# if the plugin of mysql.user is is "caching_sha2_password", set it to "mysql_native_password". | ||
alter user '{user}'@'{host}' identified with mysql_native_password by {password}; | ||
|
||
# check the plugin of mysql.user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# check the plugin of mysql.user. | |
# Check the plugin of mysql.user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Co-authored-by: Anonymitaet <[email protected]>
Co-authored-by: Anonymitaet <[email protected]>
Co-authored-by: Anonymitaet <[email protected]>
Done |
When MySQL enabled
caching_sha2_password_auto_generate_rsa_keys
, the debezium will get an error:Public Key Retrieval is not allowed
Add a solution to solve the issue
doc
doc-required
doc-not-needed
doc-complete